import React, { useEffect, useState } from 'react';


function Home() {
  const [count, setCount] = useState(2)
  useEffect(()=>{
    return (
      console.log('warmer 1520')
      
    )
  },[])
  return (
    <div className="content">
      <button onClick={() => setCount(count + 1)}>点击</button>
      {count}
      <div className="name">fdsfsdf</div>
    </div>
  );
}

export default Home;
